package com.ruoyi.common.event;

import org.springframework.context.ApplicationEvent;

/**
 * SpringEvent消息
 */
public class CommonEvent extends ApplicationEvent {
    private String action;
    private Long id;
    private Long[] ids;

    public CommonEvent(Object source) {
        super(source);
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long[] getIds() {
        return ids;
    }

    public void setIds(Long[] ids) {
        this.ids = ids;
    }
}
